<!DOCTYPE html>
<html>
<head>
</head>
<body>

  <script type="text/javascript" src="libs/dat.gui.min.js"></script>
  
  <script type="text/javascript">
    var obj = { x: 5};
	obj.color = [ 0, 128, 255, 0.3 ];
    var gui = new dat.GUI();
	gui.add(obj, 'x');
	gui.addColor(obj, 'color');
  </script>
</body>
</html>